#!/usr/bin/env bash
export LANG=en_US.UTF-8
cd /wapp/uniiof/users/spider/woego-spider/spider

for f in lib/*.jar; do
        CLASSPATH=${CLASSPATH}:$f;
done

CLASSPATH=$CLASSPATH:target/spider.jar

CURR_DATE=$(date +%Y-%m-%d)
echo $CURR_DATE
/wapp/jdk1.7.0_79/bin/java -classpath ${CLASSPATH} v2.TmMain pinpai.txt utf-8 ../info/$CURR_DATE/tm/
